package com.nnnu.wsnackshop.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

@Data
@Schema(description = "地址 VO")
public class AddressVO {
    @Schema(description = "地址 ID")
    private Integer id;
    @Schema(description = "用户 ID")
    private Integer userId;
    @Schema(description = "收件人姓名")
    private String recipientName;
    @Schema(description = "收件人电话")
    private String recipientPhone;
    @Schema(description = "省")
    private String province;
    @Schema(description = "市")
    private String city;
    @Schema(description = "区")
    private String district;
    @Schema(description = "详细地址")
    private String detailAddress;
    @Schema(description = "纬度")
    private Double latitude;
    @Schema(description = "经度")
    private Double longitude;
    @Schema(description = "地址标签")
    private String label;
    @Schema(description = "是否默认地址")
    private Integer isDefault;
    @Schema(description = "创建时间")
    private String createdAt;
    @Schema(description = "更新时间")
    private String updatedAt;
}
